log/slog.handleState.groups (field)
17 uses
log/slog (current package)
handler.go#L277: stateGroups := state.groups
handler.go#L278: state.groups = nil // So ReplaceAttrs sees no groups instead of the pre groups.
handler.go#L316: state.groups = stateGroups // Restore groups passed to ReplaceAttrs.
handler.go#L388: groups *[]string // pool-allocated slice of active groups, for ReplaceAttr
handler.go#L405: s.groups = groupPool.Get().(*[]string)
handler.go#L406: *s.groups = append(*s.groups, h.groups[:h.nOpenGroups]...)
handler.go#L415: if gs := s.groups; gs != nil {
handler.go#L443: if s.groups != nil {
handler.go#L444: *s.groups = append(*s.groups, name)
handler.go#L456: if s.groups != nil {
handler.go#L457: *s.groups = (*s.groups)[:len(*s.groups)-1]
handler.go#L480: if s.groups != nil {
handler.go#L481: gs = *s.groups
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)